package com.example.springbootfuture.factory;

import java.util.concurrent.ThreadFactory;

/**
 * @author: wukangrong
 * @date: 2020/8/28 16:46
 * @description:
 */
public class MyThreadFactory implements ThreadFactory {
    @Override
    public Thread newThread(Runnable r) {
        return new Thread(r, "我的线程");
    }
}
